package net.suncaper.demo.service;

import net.suncaper.demo.domain.User;

import java.util.List;

public interface UserService {

    List<User> findUser();

    void saveUser(User user);

    void deleteUserById(long userid);

    public User findUserById(long userid);

    void updateUser(User user);

    public List<User> findUserByTeleAndName(String username, String telephone);
}
